div.foo {
    margin: 50px;
    border: 5px solid #ffcccc;
    position: relative;
}
div#shadow {
    display: none;
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: black;
    -moz-opacity: 0.6;
    opacity:.60;
    filter: alpha(opacity=60);
    z-index: 499;
}

div#pop_outer {
    margin: 10px;
}
div#pop {
    xborder: 1px solid red;
    margin: 0px;
    padding: 0px;
    z-index: 500;
}
div#pop * {
    z-index: 500;
}

.slides {
    margins: 0px;
}

/*
	Slides container
	Important:
	Set the width of your slides container
	Set to display none, prevents content flash
*/

.slides .slides_container {
    overflow:hidden;
    position:relative;
    xdisplay:none;
    background-color: #fefefe;
    border: 1px solid black;
    padding: 7px;
    z-index: 10;
}

.popped_in .slides_container {
    margin-left: 0px;
}

.popped_out .slides_container {
    margin-left: 30px;
}

/*
	Each slide
	Important:
	Set the width of your slides
	If height not specified height will be set by the slide content
	Set to display block
*/

.slides_container div.slide {
    width:470px;
    height:500px;
    display:block;
    position:relative;
    border: 5px solid #ee22ee
}


/*
	Next/prev buttons
*/

#slides .nxtprv {
    float: left;
    display:block;
    z-index:101;
    width:30px;
    height:30px;
    padding:0px;
    overflow:hidden;
    position:relative;
    top: 80px;
}

#slides .nxtprv img {
    width:30px;
    height:30px;
    border: none;
    background:url('http://skrblogfiles.googlecode.com/svn/trunk/img/icons_30.png') 0 0;    
}

#slides .next {
    float: right;
}

#slides .next img {
    background:url('http://skrblogfiles.googlecode.com/svn/trunk/img/icons_30.png') -30px 0;
}

.slide_nav {
    width: 100%;
    border: 2px dotted red;
}

/*
	Pagination
*/

.pagination {
    margin:26px auto 0;
    width:100%;
    border: 2px dashed green;
}

.pagination li {
	float:left;
	margin:0 1px;
	list-style:none;
}

.pagination li a {
    display:block;
    width:12px;
    height:0;
    padding-top:12px;
    background-image:url(../img/pagination.png);
    background-position:0 0;
    float:left;
    overflow:hidden;
}

.pagination li.current a {
    background-position:0 -12px;
}

/*
	Caption
*/

.caption {
    z-index:500;
    position:absolute;
    bottom:-35px;
    left:0;
    height:30px;
    padding:5px 20px 0 20px;
    background:#000;
    background:rgba(0,0,0,.5);
    width:540px;
    font-size:1.3em;
    line-height:1.33;
    color:#fff;
    border-top:1px solid #000;
    text-shadow:none;
}

#popbutton_pos1 {
    float: right;
    z-index: 5000;
}

#popbutton_pos2 {
    position: absolute;
    z-index: 5000;
}

#popbutton {
    display: block;
    position: absolute;
    background-color: #66ccb5;
    background:url('http://skrblogfiles.googlecode.com/svn/trunk/img/icons_30.png') -60px 0px;    
    width: 30px;
    height: 30px;
    margins: 0px;
    padding: 0px;
    xright: 24px;
    left: -30px;
    xfloat: right;
}

.popped_in #popbutton {
    background:url('http://skrblogfiles.googlecode.com/svn/trunk/img/icons_30.png') -60px 0px;    
}    
.popped_out #popbutton {
    background:url('http://skrblogfiles.googlecode.com/svn/trunk/img/icons_30.png') -90px 0px;    
}    
